package com.jt.shop.mapper;

import com.jt.shop.model.User;

/**
 * Created by he on 2015/9/5.
 */
public interface UserMapper {

    int add(User user);

    void upate(User user);

    void delete(int id);

    User find(int id);

    User findByEmail(String email);

    User login(String username);

}
